package cn.tedu.crm.notice.service;

import cn.tedu.crm.notice.pojo.dto.NoticeQuery;
import cn.tedu.crm.notice.pojo.dto.NoticeSaveParam;
import cn.tedu.crm.notice.pojo.vo.NoticeVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoticeService {

    List<NoticeVO> loadNotice(NoticeQuery noticeQuery);

    void saveNotice(NoticeSaveParam noticeSaveParam);

    List<NoticeVO> loadNoticeByIdAndUserId(Long id);

    void deleteNoticeById(Long id);

    List<NoticeVO> selectByStatus(NoticeQuery noticeQuery);

    Long selectNoticeCount(NoticeQuery noticeQuery);
}
